﻿using System;
using System.Data;
using System.Collections.Generic;

using Com.Framework.Data;
using Com.Library.DB;

namespace Com.Library.DB.Board
{
	internal class BoardGetInfo : DBDataReader<DataEntity, BoardEntity>
	{
		public BoardGetInfo()
			: base(new ConnectionString(), "TSP_Board_GetInfo")
		{
		}

		protected override void ParameterInitialize()
		{
			AddParameter("n1BoardSN", SqlDbType.TinyInt, 1, SqlDataInOut.Input);
			AddParameter("strBoardName", SqlDbType.NVarChar, 40, SqlDataInOut.Output);
			AddParameter("dtCreatedDate", SqlDbType.DateTime, 8, SqlDataInOut.Output);
			AddParameter("dtModifiedDate", SqlDbType.DateTime, 8, SqlDataInOut.Output);
			AddParameter("strJsonData", SqlDbType.NVarChar, -1, SqlDataInOut.Output);
		}
	}
}